package top.infopub.job.bpa.service.impl;

import java.math.BigDecimal;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.job.bpa.dao.EffectPlanDao;
import top.infopub.model.bpa.EffectPlan;
import top.infopub.job.bpa.service.EffectPlanService;

@Service
public class EffectPlanServiceImpl extends GenericServiceImpl<EffectPlan, String> implements
		EffectPlanService {

	@Autowired
	private EffectPlanDao effectPlanDao;
	
	@Override
	public GenericDao<EffectPlan, String> getDao() {
		return effectPlanDao;
	}

    @Override
    public BigDecimal selectMonthPlanAmount(Map<String, Object> where) {
        return effectPlanDao.selectMonthPlanAmount(where);
    }

}